<h3>${g.message(code:'shared.comments.title')}</h3>
<g:if test="${comments.size()>0}">
	<g:each var="comment" in="${comments}">
     <p>Name: ${comment.name}</p>
     <p>Comment:<br/> ${comment.comment}</p>
     <br/>
	</g:each>
</g:if>
<g:else>
	<p>${g.message(code:'shared.comments.nocomments')}</p>
</g:else>
<g:render template="/shared/errors" bean="${comment}"/>
<g:form name="new_comment" action="comment" id="${id}">
	<label for="name">${g.message(code:'shared.comments.name')}:</label>
	<br/>
	<g:textField name="name" value="${params.name}" />
	<br/>
	<label for="email">${g.message(code:'shared.comments.email')}:</label>
	<br/>
	<g:textField name="email" value="${params.email}" />
	<br/>
	<label for="web">${g.message(code:'shared.comments.web')}:</label>
	<br/>
	<g:textField name="web" value="${params.web}" />
	<br/>
	<label for="comment">${g.message(code:'shared.comments.comment')}:</label>
	<br/>
	<g:textArea name="comment" value="${params.comment}" />
	<br/>
	<g:submitButton name="submit" value="save" />
</g:form>